import { Pagination } from "cui-solid"
import { createStore } from "solid-js/store";

export default () => {
    const [page, setPage] = createStore({
        current: 1,
        pageSize: 10
    })

    return <Pagination current={page.current} showTotal={false} showPage={false} showJumper={false}
        pageSize={page.pageSize} total={1000} showNums={false} onChange={(page: number) => {
            setPage('current', page);
        }}/>
}